<template>
  <div class="contractTenantDetail">
    <div class="content">
      <div v-html="currentItem.htContentHtml || ''"></div>
    </div>
  </div>
</template>

<script>
import { mapState } from 'vuex'
import { shareMixin } from 'common/js/mixins'

export default {
  mixins: [shareMixin()],
  computed: {
    ...mapState({
      currentItem: state => state.contractTenantDetail.currentItem
    })
  }
}
</script>

<style lang="scss" scoped>
  .contractTenantDetail {
    width: 100%;
    position: relative;
    padding: 5px;
    box-sizing: border-box;
    > .content {
      width: 100%;
      border: 1px solid lightgray;
      border-radius: 6px;
      box-sizing: border-box;
      padding: 0 5px 5px;
    }
  }
</style>
